<?php

/**
 * TODO: Add loging
 *
 */

/**
 * @see Zend_Loader
 */
require_once 'Zend/Loader.php';
require_once 'Zend/Debug.php';

/**
 * @see Zend_Gdata_ClientLogin
 */
Zend_Loader::loadClass('Zend_Http_Client');

/**
 * Display list of valid commands.
 *
 * @param  string $executable The name of the current script. This is usually av
 ailable as $argv[0].
 * @return void
 */
function displayHelp($executable)
{
	echo "Usage: php {$executable} [<username>] [<password>] " .
        "[<portfolioName>] [<action>]\n";
	echo "where [action] can be list or add \n";

}

$client = new Zend_Http_Client('http://finance.google.com');
$client->setParameterGet('q', 'GE');
$response=$client->request();
echo $response->getBody() . "\n";
?>